package com.gcosc.hly.codejava.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gcosc.hly.codejava.entity.User;
import com.gcosc.hly.codejava.mapper.UserMapper;
import com.gcosc.hly.codejava.service.UserService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Override
    public User getUserInfoVO(int uid) {
        return getById(uid);
    }

    @Override
    public void clear() {
    }

}
